package com.guoxianwei.scm.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.guoxianwei.scm.domain.Menu;
import com.guoxianwei.scm.persistence.MenuMapper;

@Service
public class MenuService {
	@Autowired
	private MenuMapper menuMapper;

	public List<Menu> getMenuListByUser(String userid) {
		return menuMapper.getMenuListByUser(userid);
	}
}
